package com.example.springboot.Mapper;

import com.example.springboot.pojo.BookInfo;
import com.example.springboot.pojo.day;
import com.example.springboot.pojo.trade;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface TradeMapper {

    List<trade> getTrade();

    int uodateTrade(trade t);

    int addTrade(trade t);

    int delete(int trid);

    int sumTrade();

    List<trade> countxse();

    List<trade> countyxse();

    List<trade> countyxsephb();

    List<trade> pagesearch(int pageNo, int pageSize);
}
